Functional lateral x-ray scans